'use strict';
require("./index.scss");

var htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;
var htmlDOM = document.getElementsByTagName('html')[0];
htmlDOM.style.fontSize = htmlWidth / 10 + 'px';

window.addEventListener('resize', (e) => {
	  htmlWidth = document.documentElement.clientWidth || document.body.clientWidth;

	  htmlDOM.style.fontSize = htmlWidth / 10 + 'px';

});